import request from '../utils/request'

export function getOneMessages(userName) {
    return request({
        url: '/api/messages/one/'+userName,
        method: 'get'
    })
}
export function updateOneMessages(params) {
    return request({
        url: '/api/messages/update',
        method: 'put',
        data: params
    })
}
